class CodeResp {
  int? code;
  String? msg;

  CodeResp({this.code, this.msg});

  CodeResp.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'] ?? '';
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    return data;
  }
}